type TAG = { id: number, title: string }[]
export type Typeform = {
    username: string,
    password: string
}
//更新密码
export type Updata_pass = {
    oldpass: string,
    newpass: string
}
export interface AdminType {
    _id: string,
    username: string,
    avatar: string,
    bilibili: string,
    csdn: string,
    english_name: string,
    famous_sentence: string,
    gitee: string,
    introduce: string
    qq: string,
    role: string,
    school: string,
    tags: TAG,
}
export interface Admin {
    msg: string,
    code: number

}
export interface AdminResult extends Admin {
    data: AdminType,
}

export interface Update_Admin {
    username: string,
    famous_sentence: string,
    introduce: string,
    csdn: string,
    bilibili: string,
    gitee: string,
    tags: TAG
}


export interface User_info {
    avatar
    :
    string
    role
    :
    string
    username
    :
    string
    _id
    : string
}